package com.qf.day02;

import java.util.Scanner;

public class Switch {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
        System.out.println("请评价");
        String evaluate = sc.next();
//        evaluate = evaluate.toUpperCase(); 转大写
        System.out.println(evaluate);
        switch (evaluate){
            case "a":
            case "A":
                System.out.println("好评");
            break;
            case "b":
            case "B":
                System.out.println("一般");
                break;
            case "C":
            case "c":
                System.out.println("良好");
                break;
            case "d":
            case "D":
                System.out.println("差评");
                break;
            default:
                System.out.println("输入有误");
                break;
        }
    }
}
